package entity;

/**
 * Wordchild entity. @author MyEclipse Persistence Tools
 */

public class Wordchild implements java.io.Serializable {

	// Fields

	private Integer id;
	private Word wordid;
	private String name;


	// Constructors

	/** default constructor */
	public Wordchild() {
	}

	/** minimal constructor */
	public Wordchild(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public Wordchild(Integer id, Word wordid, String name) {
		this.id = id;
		this.wordid = wordid;
		this.name = name;

	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Word getWordid() {
		return this.wordid;
	}

	public void setWordid(Word wordid) {
		this.wordid = wordid;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}



}